@SET EXCEL_FOLDER=.\ExcelConfig
@SET JSON_FOLDER=.\Assets\Resources\Data\Json
@SET CSHARP =.\Assets\Config
@SET EXE=.\Tools\excel2json\excel2json.exe

@ECHO Converting excel files in folder %EXCEL_FOLDER%...
for /f "delims=" %%i in ('dir /b /a-d /s %EXCEL_FOLDER%\*.xlsx') do (
    @echo   processing %%~nxi 
    @CALL %EXE% --excel %EXCEL_FOLDER%\%%~nxi --json %JSON_FOLDER%\%%~ni.json --csharp %CSHARP%\%%~ni.cs --header 3 
)
